package com.lis.scf.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 登录请求DTO
 */
@Data
@ApiModel(description = "用户登录请求参数")
public class LoginDTO {

    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(value = "登录用户名", example = "admin")
    private String username;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "登录密码", example = "123456")
    private String password;



//    @Schema(description = "是否记住登录状态", example = "false")
//    private boolean rememberMe = false;
}
